package org.jpush.utils;

import java.util.Properties;

public class GlobalOptions
{
	private  static Properties sysProp = new Properties();
	public static final boolean APPROXIMATE_PARSING = 
		Boolean.parseBoolean(sysProp.getProperty("APPROXIMATE_PARSING", "true"));

	public static final boolean STRICT_PARSING = !APPROXIMATE_PARSING;
	
	public static final boolean REUSE_ADDRESS = true;

	//---------------- Receive buffer size setting
	private static int RECV_BUF_UNIT = 1024;
	private static int RECV_BUF_UNIT_COUNT = 16;
	public static int RECV_BUF_SIZE = RECV_BUF_UNIT_COUNT * RECV_BUF_UNIT;
}
